import { defineStore } from 'pinia'

export const wsStore = defineStore("ws",{
    // state: 返回对象的函数
    state: () => ({
        ws: null, //建立的连接
        task:null  //循环任务
    }),
    getters: {
    },
    actions: {

    },
});